<?php
/**
 * 入住视图
 *
 * @author 红雨
 */
class CostdetailViewModel extends ViewModel {
    public $viewFields = array(
    		'Costdetail'=>array('*'),
            'Checkin'=>array('id'=>'checkin_id','member_id','checkin_no','room_id','status'=>'checkstatus','start_time','end_time','end_realtime','_on'=>'Costdetail.checkin_id=Checkin.id'),
            
            'Member'=>array('name','account', '_on'=>'Checkin.member_id=Member.id'),
    );
    
}
?>
